home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
print
/
fold33.zip
/
FOLDADD.DOC
< prev
next >
Wrap
Text File
|
1993-11-11
|
12KB
|
378 lines
FOLD-and-PRINT
version 3.2
Appendix to User's Manual
(C) Konrad Budych 1989-93
This appendix does not contain vital information that you need to run
FOLD-and-PRINT. It contains information that I always hate reading in other
people's manuals. Please have a look at FOLD.DOC first, and after you have
done that, you may come back here...
DISCLAIMER
==========
FOLD-and-PRINT is supplied as is. The author disclaims all
warranties, expressed or implied, including, without limitation, the
warranties of merchantability and of fitness for any purpose. The author
assumes no liability for any damages, direct or consequential, which may
result from the use of, or inability to use FOLD-and-PRINT.
WHERE TO BUY FOLD-and-PRINT?
============================
Nowhere. FOLD-and-PRINT is free. I wrote it for myself, but now I
think more people can enjoy and make use of it. You may give FOLD-and-PRINT
away to your friends, but you are not permitted to sell or modify it. If you
distribute FOLD-and-PRINT, please distribute the original, unmodified archive
file.
If you think this program is great and worth contributing, please send
something to the author: money is most welcome ($20 or more or less),
diskettes, books, postcards, your programs, etc. You can contact the author
via e-mail or via snail mail using the following addresses:
Snail mail address:
Konrad Budych
os. Bohaterow Wrzesnia 24/67
31-621 Krakow, Poland
Internet address:
kbudych@ii.uj.edu.pl
If you decide to send me some money you may use an international money
order or a personal cheque.
ACKNOWLEDGEMENTS
================
I would like to thank Janusz, Jerzy, Jerzy, and Krzysztof for testing
FOLD-and-PRINT and suggesting some improvements, Piero, George and Jean for
nice words, Tom for his suggestions and his offer, John, Mark, and Nick for
their suggestions. Special thanks go to Edgar for his suggestions and
'debugging' the manual (to the version 3.0, all errors in this manual are my
own invention!)
Special thanks go to Sheldon for his patience in bug hunting.
THANKS IN UPPERCASE go to all contributors. To be honest, there are
only two persons on this list... THANKS, DAN! THANKS, CARLOS!
REVISION HISTORY
================
The history of FOLD-and-PRINT is long and interesting.
VERSIONS 1.0 thru 1.3
---------------------
The first version of this program was running under CP/M-80. It was
written in Turbo Pascal 3.0 (!). There were two parts: one which reformatted
input file into another file; the second part printed that file. All
necessary parameters had to be entered each time the program was run. Printer
control codes were located inside the program and could not be changed without
the recompilation of the source code as I used only one printer.
The first part, which created the reformatted file, could also act on
the WordStar 3.0 document files.
VERSIONS 2.0A thru 2.0J
-----------------------
The version 2.0 was written with the use of Turbo Vision library in
Turbo Pascal 6.0. This program was a 'sum' of the previous two. All
parameters could be set in the program and the configuration could be saved.
Several sets of control codes were still inside the program and only ESC/P
compatible printers could be used.
There was a possibility of printing selected pages and truncating
lines. An input file still was first formatted into temporary file which was
then printed. It sometimes took a while to reformat a long text.
A lot of keys has to be pressed to start printing.
VERSIONS 2.91 thru 2.98
-----------------------
As I found that I always use only two print modes, I thought of the
separate configuration files for each of them. A command line utility was the
next idea. A word wrap looks great when there are broken lines and the text
is not a source code. Printing separately odd and even pages was necessary as
I started using a printer with the sheet feeder. Printing each line few times
was a great idea when I was forced to use printers with the very weak ribbons.
FOLD-and-PRINT only reads now an input file: no temporary file is
created. This saves a lot of time: the page is reformatted and immediately
printed; the program prepares the next page while the previous one is being
printed. The text is read once if no analyzis is performed, however if you
want to know how many pages the text will have, it has to be read twice and
the text analysis has to be performed.
All necessary printer information is now in the printer definition
file. This allows (probably) all line printers to be used.
Version 2.91 thru 2.98 were all pre-release versions of 3.0. They
were not widely distributed, but were still improved. The suggestion form a
number of people shaped FOLD-and-PRINT into its final form.
VERSION 3.0
-----------
This version was the first to be widely distributed.
VERSION 3.1
-----------
Here is a list of changes from version 3.0:
* 'd' and 'q' switches have been added for the easier header/footer
defining and printing.
* 'c' switch has been removed as useless and not used (by me...)
* a string of digits is now 'a word' too. This changed the way
FOLD-and-PRINT breaks lines.
* when non-printable characters are found in a text, their codes are
displayed now.
* 'x' switch added to speed up printing of texts on printers with a
sheet feeder.
* 'g' switch added (set tab width).
* 'r' parameter added to allow page numbering shifts.
* the space fillers have been added to special header/footer symbols
to create left/right-justified, odd/even-page-dependent headers and footers.
* the printer configuration file now can contain comments.
VERSION 3.2
-----------
Here is a list of major changes from version 3.1:
* new syntax of .P files
* user's title in headers and footer
* line of hyphens may be printed below/above headers/footer
* separate headers/footers for odd and even pages
* different command line parsing: no switches, one- and two-letter
options, case sensitive options
* 'df' disables headers/footers on page no. 1
* 'qt' asks for a user's title
* 'oo', 'oe', 'ox', 'oa' instead of 'o', 'e', 'x'
* 'tB' and 'tW' cuts off the ends of lines without any text
* switches to remove/ignore control characters
* left and right margins, width can be defined in command line
* bug fix: headers and footers fit within margins
* many minor changes: they are invisible to the user or described in
the manual.
VERSION 3.3
-----------
Here is a list of major changes from version 3.1:
* bug fix: sometimes FOLD-and-PRINT printed some lines twice in a
column instead of printing empty lines. I have never experienced this but
thanks to Sheldon I have managed to fix this...
* when a line is broken all spaces at the beginning of the remaining
part are now removed and the text is left justified; this makes long lines
look as if they were formatted paragraphs
* new '-cs' option to substitute non-printable characters with a '@'
* new '-P' option to specify directory for .P files
* new set of the header/footer special symbols
* first version of TUNF added to the package
FUTURE VERSIONS
---------------
I think it is not history yet, but this is the best place to inform
you about the future (of FOLD-and-PRINT).
I cannot promise that there ever will be any future version of
FOLD-and-PRINT, but I am afraid th